package com.kgc.cn.clients;

import com.kgc.cn.dto.ZipkinSpans;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author jialin
 * @create 2020-10-24
 */
@FeignClient(name = "boot-service")
public interface ZipkinClients {
    @GetMapping(value = "/getName")
    public ZipkinSpans getName(@RequestParam(value = "id") Long id);
    @GetMapping(value = "/getNo")
    public ZipkinSpans getNo(@RequestParam(value = "id") Long id);
}
